class Mailer < ActionMailer::Base

  def email(recipient, subject, message)
    @subject            = subject
    @body["message"]    = message
    @body["signature"]  = MAILER_OPTIONS[:signature] || ''
    @recipients         = recipient
    @from               = "#{MAILER_OPTIONS[:from_name]} <#{MAILER_OPTIONS[:user_name]}>"
    @sent_on            = Time.now
    @headers            = {}
  end

end
